package cn.wolfcode.luowowo.comment.repository;


import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.domain.TravelComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by LENOVO on 2019/8/13.
 *
 *
 *
 */

/**
 *Mongo操作坪林的crud接口,功能等于mybatis中的mapperZ
 *
 *
 *第一个泛型是操作的文档对象,第二个是文档主键id的类型
 */

@Repository
public interface ITravelCommentRepository extends MongoRepository<TravelComment,String> {
}
